<!DOCTYPE html>
<html lang="es" xmlns="http://www.w3.org/1999/xhtml" 
	  xmlns:th="http://www.thymeleaf.org">
	<head th:fragment="headerFragment">
		<!-- <meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1"> -->
		<title>Main Dashboard</title>

		<!-- Bootstrap CSS -->
		<link href="resources/css/bootstrap.min.css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="resources/bootstrap/css/bootstrap-theme.min.css">
		<link rel="stylesheet" type="text/css" href="resources/bootstrap/css/bootstrapValidator.min.css">
		<link rel="stylesheet" type="text/css" href="resources/css/main.css">
		<link rel="shortcut icon" href="resources/image/favicon.ico" />
		<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
			<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
			<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->
	</head>
	<body>
		<!-- Fixed navbar -->
	    <div th:fragment="headerNavigation" class="navbar navbar-default navbar-fixed-top" role="navigation">
	      <div class="container">
	        <div class="navbar-header">
	          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
	            <span class="sr-only">Toggle navigation</span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	          </button>
	          <a class="navbar-brand" href="#">
				<img src="resources/image/logo.png" height="20" width="20">
	          	Balance Transfer Call</a>
	        </div>
	        <div class="navbar-collapse collapse">
	          <ul class="nav navbar-nav">
	            <li class="active"><a href="#">Home</a></li>	            	            
	          </ul>
	          <ul class="nav navbar-nav navbar-right">
	            <li>
	            	<p class="navbar-text navbar-right">
	            		<i class="glyphicon glyphicon-user"></i>&nbsp;Felipe Castro
	            	</p>
		        </li>
	            <li th:if="${#authorization.expression('!isAuthenticated()')}">
	              <a href="/signin" th:href="@{/signin}">Sign in</a>
	            </li>
	            <li th:if="${#authorization.expression('isAuthenticated()')}">
	              <a href="/logout" th:href="@{/logout}">Logout</a>
	              <a href="login.html" class="navbar-link"><i class="glyphicon glyphicon-off"></i>&nbsp;Cerrar Sesion</a>
	            </li>
	          </ul>
	        </div><!--/.nav-collapse -->
	      </div>
	    </div>

		
		<!-- jQuery -->
		<script src="js/jquery.js"></script>
		<!-- Bootstrap JavaScript -->
		<script src="js/bootstrap.min.js"></script>

		<script src="js/bootstrapValidator.min.js"></script>
		<script src="js/customDashboard.js"></script>
	</body>
</html>